package com.youshang520i.demo.proxy.cglibproxy.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author youshang
 */
@RestController
@RequestMapping("/cglib")
public class CglibController {

    @GetMapping("/say")
    public String say() {
        System.out.println("调用了cglib.say接口");
        return "ok";
    }

}
